<html> 
<head> 
<title> Test Doc </title> 
 
<script type="text/javascript" src="jquery.form.js"></script> 
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAFzj_-JbsjaE0AO2JsD8IqhTchv_-9Dxr5r24NY9LzPA8Ml9V3BRuDioQIbmjFukw4KZQkyHhusLT8A"
            type="text/javascript"></script> 
 
<script type="text/javascript"> 
function test(){
document.write("status is ok");
document.write("<br>");
document.write("<p>hi<\/p>");
}
</script> 
 
 
   <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script> 
   
   <script type="text/javascript"> 
   
     function initialize() {
   
    if (GBrowserIsCompatible()) {
    
    var map = new GMap2(document.getElementById("map_canvas"));
        map.setCenter(new GLatLng(37.331689,-122.030731,true), 10);
        map.setUIToDefault();
   
   var lon = new Array(); 
   var lat = new Array();
   var point = new Array();
   
     $(document).ready(function(){
    
    for( var i=1; i <=1; i++){
		$.getJSON('http://sunna-server.appspot.com/cabs/'+i, function(data) { 
	//	if (typeof data.error=="undefined"){
	//	break;
	//        			}// End of if statement
  	 		lon[i] = data.longitude;
  	 		lat[i] = data.latitude;
  	 			point[i] = new GLatLng(lat[i], lon[i]); 
				map.addOverlay(new GMarker(point[i])); //Adds Marker to the Map
  	 		//alert("marker 1")
  	 		});// End of getJson  	 		
				}// End of for statement
				
				
				
				$.getJSON('http://sunna-server.appspot.com/cabs/4001', function(data) { 
 
  	 		lon[4001] = data.longitude;
  	 		lat[4001] = data.latitude;
  	 			point[4001] = new GLatLng(lat[4001], lon[4001]); 
				map.addOverlay(new GMarker(point[4001])); //Adds Marker to the Map
  	 		//alert("marker 2")
  	 		});// End of getJson  	 	
				
				
				$.getJSON('http://sunna-server.appspot.com/cabs/8001', function(data) { 
	//	if (typeof data.error=="undefined"){
	//	break;
	//        			}// End of if statement
  	 		lon[8001] = data.longitude;
  	 		lat[8001] = data.latitude;
  	 			point[8001] = new GLatLng(lat[8001], lon[8001]); 
				map.addOverlay(new GMarker(point[8001])); //Adds Marker to the Map
  	 	//alert("marker 3")
  	 	});// End of getJson
				
				     });// End of ready function 
     }// End of Gbrowser 
     }// end of Initialize()
     
   </script> 

 
</head> 
 
<body onload="initialize()" onunload="GUnload()"> 
 <div id="map_canvas" style="width: 500px; height: 300px"></div> 
 
</br> 
<script type="text/javascript"> 
test();
</script> 
 
</br> 
  <form id="myform" action="test.html" method="post"> 
    Name: <input type="text" name="name" />
	Pickup Address: <input type="text" name="address" />
	Phone Number: <input type="text" name="phone" />
    <input type="submit" value="Add Passenger"/>				
</form>
   
 
</body> 
 
</html>